package com.runing.mapper;

import com.runing.entity.RClasses;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.runing.entity.RGrade;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lel
 * @since 2021-03-11
 */
@Mapper
@Repository
public interface RClassesMapper extends BaseMapper<RClasses> {

    List<Map> findClasses(Integer cid, Integer gid);

    List<RGrade> findAllGrade(Integer cid);

}
